make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 25 Oct 2022 05:23:17 +0000 (06:23 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 25 Oct 2022 05:23:17 +0000 (06:23 +0100)
commit3e84869e2bddff0cc8f1a6bee568d6aca8f3049d
tree1936a206de494b202196b6dd27958179a1fef93b
parentaa7cbb861c22dce28d521385574f73b3d90b1823
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c